package com.monliao.util;
import java.util.HashMap;
import java.util.Map;

import com.monliao.util.HttpUtil;

public class unbind {
	/**
	 * 解绑用户第三方登录授权
	 * 百度社会化平台
	 * @param access_token
	 * @return
	 */
				public static String Unbind(String access_token){
					String url="https://openapi.baidu.com/social/api/2.0/user/unbind";
					Map<String, String> paramsMap=new HashMap<String, String>();
					paramsMap.put("access_token", access_token);
					String unbindMsg = HttpUtil.post(url,  paramsMap);
					System.out.println(unbindMsg);
					return unbindMsg;
				}
}
